<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui">



    <h4> <h:messages globalOnly="false" style="color: red" /> </h4>
    <div id="ki" style="width: 400px">
        <p:panelGrid columns="2">  
            <f:facet name="header">
                CONTROL DE ACCESO
            </f:facet> 

            <h:outputLabel value="ID        :" for="id" />
            <p:inputText id="id" value="#{menuTipousuarioController.selected.id}" title="Id" disabled="true" />

            <h:outputLabel value="Menu      :" for="menuId" />
            <p:selectOneMenu id="menuId" value="#{menuTipousuarioController.selected.menuId}">
                <f:selectItems value="#{menuController.itemsAvailableSelectOne}"/>
            </p:selectOneMenu>

            <h:outputLabel value="Tipo Usr. :" for="tipousuarioId" />
            <p:selectOneMenu id="tipousuarioId" value="#{menuTipousuarioController.selected.tipousuarioId}">
                <f:selectItems value="#{tipousuarioController.itemsAvailableSelectOne}"/>
            </p:selectOneMenu>

            <h:outputLabel value="Creado    :" for="crated" />
            <p:inputText id="created" value="#{usuarioController.selected.created}" title="Creado" disabled="true" >
                <f:convertDateTime pattern="dd/MM/yyyy HH:mm:ss" />
            </p:inputText>

            <h:outputLabel value="Modificado:" for="updated" />
            <p:inputText id="updated" value="#{usuarioController.selected.updated}" title="Actualizado" disabled="true" >
                <f:convertDateTime pattern="dd/MM/yyyy HH:mm:ss" />
            </p:inputText>

        </p:panelGrid>
    </div>

</ui:composition>
